package com.deke.home.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ：ludi
 * @date ：Created in 2022/12/5 19:10
 * @description：专区管理
 * @modified By：
 * @version:
 */
public interface TbZoneDao extends BaseMapper<com.deke.entity.TbZone> {

    @Select("SELECT course_id FROM tb_zone_course WHERE zone_id = #{zoneId}")
    List<String> queryCourseIdByZoneId(String zoneId);
}